namespace Duo1JFramework
{
    public static partial class Def
    {
        /// <summary>
        /// 层级定义
        /// </summary>
        public static partial class Layer
        {
            /// <summary>
            /// UI层级
            /// </summary>
            public const int UI = 5;

            /// <summary>
            /// 世界层级
            /// </summary>
            public const int WORLD = 6;
        }

        /// <summary>
        /// 层级遮罩定义
        /// </summary>
        public static partial class LayerMask
        {
            /// <summary>
            /// 无层级
            /// </summary>
            public const int NONE = 0;

            /// <summary>
            /// UI
            /// </summary>
            public const int UI = 1 << Layer.UI;

            /// <summary>
            /// 全部层级
            /// </summary>
            public const int ALL = -1;
        }
    }
}
